package com.tydic.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tydic.system.domain.ContractTemplate;
import com.tydic.system.domain.req.ContractTemplateByPageRequest;
import com.tydic.system.domain.req.ContractTemplateRequest;

import java.util.List;

public interface IContractTemplateService {
    Boolean addContractTemp(ContractTemplateRequest contractTemplateRequest);

    Page<ContractTemplate> queryTempList(ContractTemplateByPageRequest contractTemplateQueryRequest);

    boolean change(String templateCode, String status);

    Boolean updateContractTemp(ContractTemplateRequest contractTemplateRequest);

    ContractTemplate getTemplateInfo(String id);

    List<ContractTemplate> queryList(ContractTemplate contractTemplate);
}
